package com.exam.mysql;

import com.exam.entity.SysExperiment;
import com.exam.entity.SysExperimentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysExperimentDao {
    long countByExample(SysExperimentExample example);

    int deleteByExample(SysExperimentExample example);

    int deleteByPrimaryKey(Integer expid);

    int insert(SysExperiment record);

    int insertSelective(SysExperiment record);

    List<SysExperiment> selectByExample(SysExperimentExample example);

    SysExperiment selectByPrimaryKey(Integer expid);

    int updateByExampleSelective(@Param("record") SysExperiment record, @Param("example") SysExperimentExample example);

    int updateByExample(@Param("record") SysExperiment record, @Param("example") SysExperimentExample example);

    int updateByPrimaryKeySelective(SysExperiment record);

    int updateByPrimaryKey(SysExperiment record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_experiment
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysExperiment> list);
}